<div className="slider-box">
    <p className={sliderTitle}>{data.title}</p>
    <ul>
       {sliderItems}
    </ul>
</div>